package jk.zmn.ssm.controller;

import javax.annotation.Resource;

import jk.zmn.ssm.entity.Employee;
import jk.zmn.ssm.service.IEmployeeService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
@RequestMapping(value="/test")
public class TestController {

	@Autowired
	private IEmployeeService employeeService;
	@RequestMapping(value="/test")
	public void test(){
		System.out.println("nihao");
		Employee emp = employeeService.select(1);
		System.out.println(emp);
	}
}
